package com.yan.common.mapper;

import com.yan.common.bean.Log;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by yanl_ on 2018/4/6.
 */
@Mapper
public interface LogMapper {

    Log get(Long id);

    List<Log> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(Log log);

    int update(Log log);

    int remove(Long id);

    int batchRemove(Long[] ids);
}
